package system.report.pojo;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

public class ReportYKProductMonthPojo implements GSBaseBean{
	
	public String categoryCode;
	public double initCount;
	public double initMoney;
	public double inCount;
	public double inMoney;
	public double outCount;
	public double outMoney;
	public double finalCount;
	public double finalMoney;
	public String warehouseCode;
	
	
	public String getCategoryCode() {
		return categoryCode;
	}


	public void setCategoryCode(String categoryCode) {
		this.categoryCode = categoryCode;
	}


	public double getInitCount() {
		return initCount;
	}


	public void setInitCount(double initCount) {
		this.initCount = initCount;
	}


	public double getInitMoney() {
		return initMoney;
	}


	public void setInitMoney(double initMoney) {
		this.initMoney = initMoney;
	}


	public double getInCount() {
		return inCount;
	}


	public void setInCount(double inCount) {
		this.inCount = inCount;
	}


	public double getInMoney() {
		return inMoney;
	}


	public void setInMoney(double inMoney) {
		this.inMoney = inMoney;
	}


	public double getOutCount() {
		return outCount;
	}


	public void setOutCount(double outCount) {
		this.outCount = outCount;
	}


	public double getOutMoney() {
		return outMoney;
	}


	public void setOutMoney(double outMoney) {
		this.outMoney = outMoney;
	}


	public double getFinalCount() {
		return finalCount;
	}


	public void setFinalCount(double finalCount) {
		this.finalCount = finalCount;
	}


	public double getFinalMoney() {
		return finalMoney;
	}


	public void setFinalMoney(double finalMoney) {
		this.finalMoney = finalMoney;
	}


	public String getWarehouseCode() {
		return warehouseCode;
	}


	public void setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
	}


	public Object process(ResultSet aResultSet) throws SQLException {
		ReportYKProductMonthPojo pojo = new ReportYKProductMonthPojo();
		pojo.categoryCode = aResultSet.getString("category_code") == null?"":aResultSet.getString("category_code");
		pojo.initCount = aResultSet.getDouble("init_count");
		pojo.initMoney = aResultSet.getDouble("init_money");
		pojo.inCount = aResultSet.getDouble("in_count");
		pojo.inMoney = aResultSet.getDouble("in_money");
		pojo.outCount = aResultSet.getDouble("out_count");
		pojo.outMoney = aResultSet.getDouble("outMoney");
		pojo.finalCount = aResultSet.getDouble("final_count");
		pojo.finalMoney = aResultSet.getDouble("final_money");
		pojo.warehouseCode = aResultSet.getString("warehouse_code") == null?"":aResultSet.getString("warehouse_code");
		return pojo;
	}
	
	
}
